<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<jsp:useBean id="dbutil" class="JDBCTools.DBUtil" scope="session"/>
<%! java.util.Vector tabelle=new java.util.Vector(); %>
<%
	tabelle= JDBCTools.DBUtil.getQueryVector("select * from kat_fabrik");
	int i;
	int j;
%>
<c:set var="tabelle" value="${tabelle}" scope="session" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Fabrik-Arten editieren</title>
</head>
<body>
<br>
<h1>Fabrikarten editieren</h1>
<br>
<br>
<table border="1">
<tr>
<td>Fabrikart- ID</td><td>Baukosten</td><td>Fabrikart-Name</td>
</tr>
<% for(i=0; i<tabelle.size();i++){ %>
	<tr>
	<% for(j=0; j<((java.util.Vector)tabelle.get(i)).size();j++){ %>
		<td><%=((java.util.Vector)tabelle.get(i)).get(j) %></td>
	<% } %>
	</tr>
<% } %>

</table>
</body>
</html>